package com.han.decorator;

/**
 * @ClassName FriedNoodles
 * @Description 炒面——具体构建角色
 * @Author duoduo Han
 * @Date 2024/6/6 21:26
 */
public class FriedNoodles extends FastFood {

    public FriedNoodles() {
        super(8, "炒面");
    }

    @Override
    public float cost() {
        return getPrice();
    }
}
